home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form fmenu
- BackColor = &H00C0C0C0&
- BorderStyle = 3 'Fixed Double
- Caption = "VideoSoft vsView Demo"
- ClientHeight = 4575
- ClientLeft = 525
- ClientTop = 1665
- ClientWidth = 8250
- Height = 5040
- Left = 435
- LinkTopic = "Form3"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 4575
- ScaleWidth = 8250
- Top = 1290
- Width = 8430
- Begin CommandButton Command1
- BackColor = &H00C0C0C0&
- Caption = "New Lic Info"
- Height = 495
- Index = 2
- Left = 6075
- TabIndex = 10
- Top = 435
- Width = 1830
- End
- Begin vsDraw VSDraw1
- BackColor = &H00C0C0C0&
- BrushStyle = 1 'Transparent
- ConvInfo = FMENU.FRX:0000
- FontBold = -1 'True
- FontItalic = -1 'True
- FontName = "Times New Roman"
- FontSize = 15.75
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 3090
- Left = 210
- PenColor = &H0080FFFF&
- PenWidth = 1
- ScaleHeight = 200
- ScaleWidth = 200
- TextColor = &H00FFFFFF&
- Top = 420
- Width = 3585
- End
- Begin CommandButton Command1
- BackColor = &H00C0C0C0&
- Caption = "&MDI"
- Height = 495
- Index = 4
- Left = 6090
- TabIndex = 5
- Top = 2310
- Width = 1830
- End
- Begin CheckBox Check1
- BackColor = &H00C0C0C0&
- Caption = "Custom Frame"
- Height = 225
- Left = 4125
- TabIndex = 9
- Top = 675
- Width = 1800
- End
- Begin CommandButton Command1
- BackColor = &H00C0C0C0&
- Caption = "Visual &Printer"
- Height = 495
- Index = 9
- Left = 4095
- TabIndex = 2
- Top = 1680
- Width = 1830
- End
- Begin vsInForm VSInForm1
- BarColor = &H00C0C0C0&
- BarColorInactive= &H00C0C0C0&
- BarHeight = 36
- BarStyle = 3 'Raised
- ButtonsLeft = 0 '0
- ButtonsRight = 2 '2
- CapAlign = 1 'Left Center
- CapColor = &H00C0C0C0&
- CapColorInactive= &H00C0C0C0&
- CapMultiLine = -1 'True
- CapStyle = 1 'Raised
- Caption = " VideoSoft VSView"
- ClipMon = -1 'True
- ConvInfo = FMENU.FRX:000B
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "Arial"
- FontSize = 18
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- FrameColor = &H00C0C0C0&
- FrameColorInactive= &H00C0C0C0&
- FrameCorners = 0 'False
- FrameSizing = 0 'None
- FrameStyle = 3 'Raised Form
- FrameWidth = 12
- Left = 5115
- MinHeight = 870
- MinWidth = 3500
- PictRight0 = FMENU.FRX:0016
- PictRight1 = FMENU.FRX:00E8
- Top = 225
- End
- Begin CommandButton Command1
- BackColor = &H00C0C0C0&
- Caption = "&ViewPort"
- Height = 495
- Index = 8
- Left = 6090
- TabIndex = 1
- Top = 1050
- Width = 1830
- End
- Begin CommandButton Command1
- BackColor = &H00C0C0C0&
- Caption = "&Easy printing"
- Height = 480
- Index = 7
- Left = 4095
- TabIndex = 0
- Top = 1050
- Width = 1830
- End
- Begin CommandButton Command1
- BackColor = &H00C0C0C0&
- Caption = "&16 && 32"
- Height = 480
- Index = 6
- Left = 6090
- TabIndex = 3
- Top = 1680
- Width = 1830
- End
- Begin CommandButton Command1
- BackColor = &H00C0C0C0&
- Caption = "Visual &Clipboard"
- Height = 495
- Index = 3
- Left = 4095
- TabIndex = 4
- Top = 2310
- Width = 1830
- End
- Begin CommandButton Command1
- BackColor = &H00C0C0C0&
- Caption = "&Borders FX"
- Height = 495
- Index = 1
- Left = 6090
- TabIndex = 7
- Top = 2940
- Width = 1830
- End
- Begin CommandButton Command1
- BackColor = &H00C0C0C0&
- Caption = "&Floating Controls"
- Height = 495
- Index = 0
- Left = 4095
- TabIndex = 6
- Top = 2940
- Width = 1830
- End
- Begin Shape Shape1
- BackColor = &H00404040&
- FillColor = &H00404040&
- FillStyle = 0 'Solid
- Height = 3060
- Left = 315
- Top = 525
- Width = 3585
- End
- Begin Label Label1
- Alignment = 2 'Center
- BackStyle = 0 'Transparent
- Caption = "VideoSoft 2625 Alcatraz Avenue, Suite 271, Berkeley, CA 94705"
- Height = 255
- Left = 105
- TabIndex = 8
- Top = 3780
- Width = 7890
- End
- Option Explicit
- ' ----------------------------------------------------
- ' Prototype: Demo
- ' --------------------------------------------------
- Sub Check1_Click ()
- VSInform1.CustomFrame = Not VSInform1.CustomFrame
- End Sub
- Sub command1_click (Index As Integer)
- mousepointer = 11
- Select Case Index
- Case 0 'Toolbox
- ftoolbox.Show
- Case 1 'Border FX
- fFx.Show
- Case 3 'Visual Clipboard
- fclipbrd.Show
- Case 4 'MDI
- Child3.Show
- Child2.Show
- Child1.Show
- Case 6 ' 16 & 32 bits
- ffuture.Show
- Case 7 ' EZ Printing
- fEZPrint.Show 1
- Case 8 ' ViewPort
- fviewport.Show
- Case 9 ' Visual Printer
- fdesk.Show
- Case 2: DoLicInfo
- Case Else
- MsgBox "Demo not available"
- End Select
- mousepointer = 0
- End Sub
- Sub DoDrawings ()
- Dim i%, X%, Y%, NL, s$
- ' draw some text on draw control
- VSDraw1.TextColor = RGB(255, 255, 255)
- For i = 0 To 3600 Step 200
- VSDraw1.x1 = 20
- VSDraw1.y1 = 55
- VSDraw1.TextAngle = i
- VSDraw1.TextOut = "VSView"
- Next
- s = "VSView Demo"
- VSDraw1.FontSize = 24
- VSDraw1.TextOut = s
- VSDraw1.TextColor = 0
- VSDraw1.x1 = VSDraw1.x1 + 2
- VSDraw1.y1 = VSDraw1.y1 - 2
- VSDraw1.TextOut = s
- ' draw a polygon on draw control
- VSDraw1.PenColor = RGB(0, 0, 255)
- s = ""
- For X = 0 To VSDraw1.ScaleWidth Step 2
- Y = 160 + Cos(X) * (X - VSDraw1.ScaleWidth / 2) / 3
- s = s + Str(X) + Str(Y)
- Next
- VSDraw1.PolyLine = s
- End Sub
- Sub DoLicInfo ()
- Dim msg$, NL
- NL = Chr$(13)
- msg = "**** New Licensing Scheme ******************" + NL
- msg = msg + "In response to numerous user requests, we have changed our licensing "
- msg = msg + "scheme:" + NL + NL
- msg = msg + "You no longer have to distribute the LIC file with your compiled "
- msg = msg + "applications. As long as you have the LIC file installed on your "
- msg = msg + "machine when you compile an application, vsView will not look for "
- msg = msg + "a license file when you run it. This will simplify your installation "
- msg = msg + "process and reduce the potential for version conflicts on your "
- msg = msg + "users' machines."
- msg = msg + NL + NL
- msg = msg + "This also makes the VSVIEW.DEV file obsolete. It's not needed "
- msg = msg + "anymore, and that's why you won't find it on the distribution "
- msg = msg + "diskettes."
- msg = msg + NL + NL
- msg = msg + "In short:" + NL
- msg = msg + "1) Forget the DEV files." + NL
- msg = msg + "2) DO NOT DISTRIBUTE THE LIC FILE WITH YOUR APPLICATIONS!!!!"
- MsgBox msg
- End Sub
- Sub Form_Load ()
- ' center form
- Move (Screen.Width - Width) / 2, (Screen.Height - Height) / 2
- Show
- DoDrawings
- End Sub
- Sub Form_Unload (Cancel As Integer)
- End
- End Sub
- Sub VSDraw1_DblClick ()
- VSDraw1.Action = 5 ' copy
- End Sub
- Sub VSInForm1_ClickRButton (Button As Integer)
- Select Case Button
- Case 0
- End
- Case 1
- MsgBox "VSView is only $99! Call 1-510-547-7295 to order your copy today!"
- End Select
- End Sub
-